package top.meeting.room.baseModel;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;

/**
 * 我有故事，你有酒么？
 * JKhaled created by yunqisong@foxmail.com  
 * FOR : BaseUser 
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseUser<M extends BaseUser<M>> extends Model<M> implements IBean {

	public static final String id = "id" ; 

	public static final String password = "password" ; 

	public static final String userName = "user_name" ; 

	public static final String created = "created" ; 

	public static final String updated = "updated" ; 

	public static final String deleted = "deleted" ; 

	public static final String lastModifyPasswordTime = "last_modify_password_time" ; 

	public static final String roleId = "role_id" ; 

	public static final String department = "department" ; 

	public static final String realName = "real_name" ; 

	public static final String mobile = "mobile" ; 

	public static final String openId = "open_id" ; 

	public static final String wxUserId = "wx_user_id" ; 

	public static final String spForce = "sp_force" ; 

	public M setId(java.lang.Long id) {
		set("id", id);
		return (M)this;
	}

	public java.lang.Long getId() {
		return get("id");
	}

	public M setPassword(java.lang.String password) {
		set("password", password);
		return (M)this;
	}

	public java.lang.String getPassword() {
		return get("password");
	}

	public M setUserName(java.lang.String userName) {
		set("user_name", userName);
		return (M)this;
	}

	public java.lang.String getUserName() {
		return get("user_name");
	}

	public M setCreated(java.util.Date created) {
		set("created", created);
		return (M)this;
	}

	public java.util.Date getCreated() {
		return get("created");
	}

	public M setUpdated(java.util.Date updated) {
		set("updated", updated);
		return (M)this;
	}

	public java.util.Date getUpdated() {
		return get("updated");
	}

	public M setDeleted(java.lang.Integer deleted) {
		set("deleted", deleted);
		return (M)this;
	}

	public java.lang.Integer getDeleted() {
		return get("deleted");
	}

	public M setLastModifyPasswordTime(java.util.Date lastModifyPasswordTime) {
		set("last_modify_password_time", lastModifyPasswordTime);
		return (M)this;
	}

	public java.util.Date getLastModifyPasswordTime() {
		return get("last_modify_password_time");
	}

	public M setRoleId(java.lang.Long roleId) {
		set("role_id", roleId);
		return (M)this;
	}

	public java.lang.Long getRoleId() {
		return get("role_id");
	}

	public M setDepartment(java.lang.String department) {
		set("department", department);
		return (M)this;
	}

	public java.lang.String getDepartment() {
		return get("department");
	}

	public M setRealName(java.lang.String realName) {
		set("real_name", realName);
		return (M)this;
	}

	public java.lang.String getRealName() {
		return get("real_name");
	}

	public M setMobile(java.lang.String mobile) {
		set("mobile", mobile);
		return (M)this;
	}

	public java.lang.String getMobile() {
		return get("mobile");
	}

	public M setOpenId(java.lang.String openId) {
		set("openId", openId);
		return (M)this;
	}

	public java.lang.String getOpenId() {
		return get("openId");
	}

	public M setWxUserId(java.lang.Long wxUserId) {
		set("wx_user_id", wxUserId);
		return (M)this;
	}

	public java.lang.Long getWxUserId() {
		return get("wx_user_id");
	}

	public M setSpForce(java.lang.Boolean spForce) {
		set("sp_force", spForce);
		return (M)this;
	}

	public java.lang.Boolean getSpForce() {
		return get("sp_force");
	}

}
